/**
 * May 28, 2014 8:12:10 AM
 */
package elitech.vietnam.copyweatherfashion.utilities;

import java.util.Date;

/**
 * @author Cong
 *
 */
public class ServerClock {

	public long initTime = 0;
	public Date initDate;
	
	public ServerClock (long date, long time) {
		initDate = new Date(date);
		initTime = time;
	}
	
	public long now() {
		return initDate.getTime() + System.currentTimeMillis() - initTime; 
	}
}
